import request from "@/utils/request";

// 查询记事本文档列表列表
export function listNoteDocment(query) {
  return request({
    url: "/dmsIms/docment/list",
    method: "get",
    params: query,
  });
}

// 查询记事本文档列表详细
export function getNoteDocment(id) {
  return request({
    url: "/dmsIms/docment/" + id,
    method: "get",
  });
}

// 新增记事本文档列表
export function addNoteDocment(data) {
  return request({
    url: "/dmsIms/docment",
    method: "post",
    data: data,
  });
}

// 修改记事本文档列表
export function updateNoteDocment(data) {
  return request({
    url: "/dmsIms/docment",
    method: "put",
    data: data,
  });
}

// 删除记事本文档列表
export function delNoteDocment(id) {
  return request({
    url: "/dmsIms/docment/" + id,
    method: "delete",
  });
}
